package com.five.wisdomClass.service.impl;

import com.five.wisdomClass.entity.Major;
import com.five.wisdomClass.mapper.MajorMapper;
import com.five.wisdomClass.service.IMajorService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class MajorServiceImpl implements IMajorService {

    @Autowired
    MajorMapper majorMapper;

    @Override
    public List<Major> getMajorStudents() {
        return majorMapper.getMajorStudents();
    }
}
